package com.SmartCare.common.vo.goodmemories;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GoodMemoriesVo {

    /**
     * 发送的用户
     */
    private GoodMemoryUserVo userVo;

    /**
     * 图片地址列表
     */
    private List<String> urls;

    /**
     * 发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createdTime;

    /**
     * 美好瞬间的id
     */
    private Long id;

    /**
     * 文字内容
     */
    private String content;
}
